import http from "@/utils/http/index";
interface Label{
    id:string|number,
    type:string|number,
    name:string
}

let labelList =(type:string|number)=>{
    return http.get<Label[]>(`/admin/label/list?type=${type}`);
}

export {
    type Label,
    labelList
}